@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="reach" value="">
            <input type="hidden" id="revisitStatus" value="">
            <input type="hidden" id="revisitTimeTwo" value="">
            <input type="hidden" id="loginName" value="${loginName}">
            <input type="hidden" id="menuName" value="医生-今日随访">
        </div>
        <div class="numStatistics">
            <div><div onclick="DoctorRevisit.totalAllNumber('')"><span>总人数</span>（<span id="totalNum">0</span>）</div></div>
            <div><div onclick="DoctorRevisit.totalAllNumber('1')"><span>待计划</span>（<span id="planned">0</span>）</div></div>
            <div onclick="DoctorRevisit.totalAllNumber('2')"><span>已完成</span>（<span id="finished">0</span>）</div>
            <div onclick="DoctorRevisit.totalAllNumber('3')"><span>未完成</span>（<span id="unfinished">0</span>）</div>
            <div onclick="DoctorRevisit.totalAllNumber('4')"><span>取消</span>（<span id="tocancel">0</span>）</div>
            <div id="zoom"></div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>计划随访时间</span>
                    <input type="text" id="startRevisitTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endRevisitTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div>
                    <span style="margin-left: 10px">随访人员</span>
                    <select name="revisit" id="revisit" onchange="DoctorRevisit.search();" style="width: 105px;">
                        <option value="">请选择</option>
                        @for(str in doctorList){
                        <option value="${str.doctor}">${str.doctor}</option>
                        @}
                    </select>
                </div>
                <div>
                    <span>创建随访时间</span>
                    <input type="text" id="startCreateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endCreateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="DoctorRevisit.shortMessage()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shortMessage.png"><span>短信</span></button>
                    <button type="button" class="btn" onclick="DoctorRevisit.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="DoctorRevisit.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="DoctorRevisitTable"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/doctor_revisit.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorSearchContent.js?v=20200718"></script>
@}